const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,

  outputDir: "dist",
  assetsDir: "assets",

  filenameHashing: false,
  lintOnSave: true,
  productionSourceMap: true,
  configureWebpack: config =>{
    config.optimization = {
         minimize: false
    }      
  },

  devServer: {
      host: "localhost",
      port: 8080,
      https: false,
      open: true,
      proxy: {
          "/proxy": {
              target: "http://localhost:15888/",
              pathRewrite: {'^/proxy' : ''},
              //pathRewrite: {'^/abcdef' : ''},
              changeOrigin: true,
              ws: true
          }
      }
  }

})
